package Student;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class RedTest extends Reducer<Students, NullWritable, Students, NullWritable> {

    @Override
    protected void reduce(Students key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        for (NullWritable value:values){
            context.write(key,NullWritable.get());
        }
    }
}
